<?php defined('_JEXEC') or die('Restricted access'); ?>

<form action="index.php" method="post" name="adminForm" id="adminForm">
    <div class="col100">
        <fieldset class="adminform">
            <legend><?php echo JText::_( 'Details' ); ?></legend>

            <table class="admintable">
                <tr>
                    <td width="100" align="right" class="key">
                        <label for="nadpis_hlavni">
                            <?php echo JText::_( 'Nadpis nad tabulkou' ); ?>:
                        </label>
                    </td>
                    <td>
                        <input class="text_area" type="text" name="nadpis_hlavni" id="nadpis_hlavni" size="20" maxlength="20" value="<?php echo $this->nastaveni->nadpis_hlavni;?>" />
                    </td>
                </tr>
                <tr>
                    <td width="100" align="right" class="key">
                        <label for="nadpis_tabulky">
                            <?php echo JText::_( 'Text pro levou horní buňku tabulky' ); ?>:
                        </label>
                    </td>
                    <td>
                        <input class="text_area" type="text" name="nadpis_tabulky" id="nadpis_tabulky" size="20" maxlength="20" value="<?php echo $this->nastaveni->nadpis_tabulky;?>" />
                    </td>
                </tr>
                <tr>
                    <td width="100" align="right" class="key">
                        <label for="katolicke_kalendarium">
                            <?php echo JText::_( 'Zobrazovat katolické kalendárium' ); ?>:
                        </label>
                    </td>
                    <td>
                        <select name="katolicke_kalendarium">
                            <?php
                            echo '<option value="'.$this->nastaveni->katolicke_kalendarium.'">'.$this->nastaveni->katolicke_kalendarium.'</option>';
                            echo '<option value="Ano"> Ano </option>';
                            echo '<option value="Ne"> Ne </option>';
                            ?>
                        </select>

                    </td>
                </tr>
                <tr>
                    <td width="100" align="right" class="key">
                        <label for="vc_predch_nedele">
                            <?php echo JText::_( 'Tisk ohlášek včetně předchozí neděle' ); ?>:
                        </label>
                    </td>
                    <td>
                        <select name="vc_predch_nedele">
                            <?php
                            echo '<option value="'.$this->nastaveni->vc_predch_nedele.'">'.$this->nastaveni->vc_predch_nedele.'</option>';
                            echo '<option value="Ano"> Ano </option>';
                            echo '<option value="Ne"> Ne </option>';
                            ?>
                        </select>

                    </td>
                </tr>
            </table>
        </fieldset>
    </div>
    <div class="clr"></div>

    <input type="hidden" name="option" value="com_ohlasky" />
    <input type="hidden" name="id" value="1" />
    <input type="hidden" name="task" value="" />
    <input type="hidden" name="controller" value="nastaveni" />
</form>

<?php
$link_hl_menu = JRoute::_( 'index.php?option=com_ohlasky' );
?>

